Skip to content

Conversation

fwienber
Copy link

@fwienber fwienber commented Mar 4, 2020

Fix copy/paste bug when assigning slider values to
device wrapper. Instead of assigning multiple sliders to
subsequent fields of deviceWrapper, always the same field
Slider1 was used.
Now, fields Slider1 ... Slider10 are used as intended.
This should fix (multiple) sliders of DirectInput Joysticks.

When trying to use a Microsoft Sidewinder Precision 2
joystick with InputMapper 1.7, I got everything to work but
the acceleration control, which is reported as a slider.
I stumbled upon this code, not sure whether it is the code
working in IM 1.7 (it seems quite old and says something
about IM 2), but thought I could give it a try.
I wasn't able to build the plugin with this fix (not a C#
developer), but would be glad to test with my joystick.

...to device wrapper. Instead of assigning multiple sliders to
subsequent fields of deviceWrapper, always the same field
Slider1 was used.
Now, fields Slider1 ... Slider10 are used as intended.
This should fix (multiple) sliders of DirectInput Joysticks.

When trying to use a Microsoft Sidewinder Precision 2
joystick with InputMapper 1.7, I got everything to work but
the acceleration control, which is reported as a slider.
I stumbled upon this code, not sure whether it is the code
working in IM 1.7 (it seems quite old and says something
about IM 2), but thought I could give it a try.
I wasn't able to build the plugin with this fix (not a C#
developer), but would be glad to test with my joystick.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant